﻿<%@ Page Title="" Language="C#" MasterPageFile="~/PropertyInfo.master" AutoEventWireup="true" CodeFile="Appraisals.aspx.cs" Inherits="Property_Info_Appraisals" %>
<%@ MasterType VirtualPath="~/PropertyInfo.master" %>
<asp:Content ID="ContentHeader" runat="server" ContentPlaceHolderID="HeaderContentPlaceHolder">
<style type="text/css">
    
    #appraisalsTable
    {
    	width: 100%;
    	border-collapse: collapse;
    }
    
    #appraisalsTable th
    {
    	background-color: #e6e6e6;
    	text-align: center;
    	border: solid 1px black;
    }
    
    #appraisalsTable td
    {
    	text-align: center;
    	border: solid 1px black;
    }
    
    #mediaTable
    {
    	width: 100%;
    	border-collapse: collapse;
    }
    
    #mediaTable th
    {
    	background-color: #e6e6e6;
    	text-align: center;
    	border: solid 1px black;
    }
    
    #mediaTable td
    {
    	text-align: center;
    	border: solid 1px black;
    }
    
</style>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="SidebarContentPlaceHolder" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContentPlaceHolder" Runat="Server">

<h2>Available appraisals:</h2>
<br />
<table id="appraisalsTable">
    <tr>
        <th>Appraisal File</th>
        <th>Valuation</th>
        <th>Date of Appraisal</th>
    </tr>
    <asp:Literal id="appraisals" runat="server" />
</table>

<br />

<h2>Other Media:</h2>
<br />
<table id="mediaTable">
    <tr>
        <th>File</th>
        <th>Description</th>
        <th>Date Posted</th>
    </tr>
    <asp:Literal id="media" runat="server" />
</table>

<br />  <br />  <br /> 

<ajaxToolkit:TabContainer ID="TabContainer1" runat="server">

<ajaxToolkit:TabPanel ID="TabPanel1" runat="server" >
    <HeaderTemplate>
        <div>
            <div>Upload Appraisal</div>
        </div>
    </HeaderTemplate>
    <ContentTemplate>
<table>
	<tr>
	    <td>
	        Appraisal Value ($): </td><td><input id="Value" runat="server" /></td>
	</tr><tr>
	    <td>
	        Date of Appraisal (MM/DD/YYYY): </td><td><input id="Date" runat="server" /></td>
	</tr><tr>
		<td colspan="2">
			<asp:FileUpload id="FileUploadAppraisal" runat="server"  />
			<asp:Button runat="server" id="uploadappraisal" text="Upload" OnClick="uploadappraisal_Click" /></td>
	</tr>
</table>
    </ContentTemplate>
    
</ajaxToolkit:TabPanel>

<ajaxToolkit:TabPanel ID="TabPanel2" runat="server">
    <HeaderTemplate>
        <div>
            <div>Upload Media File</div>
        </div>
    </HeaderTemplate>
    <ContentTemplate>
<table>
	<tr>
	    <td>
	        Description (max 50 char): </td><td><input id="Description" size="50" maxlength="50" runat="server" /></td>
	</tr><tr>
		<td colspan="2">
			<asp:FileUpload id="FileUploadMedia" runat="server"  />
			<asp:Button runat="server" id="uploadmedia" text="Upload" OnClick="uploadmedia_Click" /></td>
	</tr>
</table>
    </ContentTemplate>
    
</ajaxToolkit:TabPanel>

</ajaxToolkit:TabContainer>


<br />  <br />  <br />  



</asp:Content>

